<?php
class WinMemCache extends CMemCache {
	protected function setValue($key, $value, $expire) {
		if (!($expire > 0))
			$expire = 0;
		return $this->useMemcached ? $this->getMemCache()->set($key, $value, $expire)
			: $this->getMemCache()->set($key, $value, 0, $expire);
	}
}
